<style>
#reportRokovnikManager{
	width:300px;
}
#reportRokovnikManager input[type=submit]{
	float:right;
}
#reportRokovnikManager label{
	width:80px;
	margin-left:10px;
	display:block;
	float:left;
	padding-top:8px;
	text-align:right;
}
#reportRokovnikManager fieldset{
	border:1px solid #aaa;
}
#reportRokovnikManager fieldset label{
	width:auto;
	margin:0px;
}
#reportRokovnikManager legend{
	color:#aaa;
}
#reportRokovnikManager .copy{
	border:none;
	background:transparent;
	padding:0px;
	font-weight:bolder;
	cursor:pointer;
	width:auto;
}
#rokovnikManReport_main{
	width:610px;
	max-height:500px;
	overflow:auto;
	margin-left:3px;
	font-size:11px;
}
#rokovnikManReport_main table{
	border-top:1px solid #aaa;
	border-left:1px solid #aaa;
}
#rokovnikManReport_main table tr.head:hover,
#rokovnikManReport_main table tr.head{
	background:#2577BA;
	color:#fff;
	font-weight:bolder;
}
#rokovnikManReport_main table tr.head td{
	vertical-align:middle;
	text-align:center;
}
#rokovnikManReport_main table tr:hover{
	background:#2577BA;
	color:#fff;
}
#rokovnikManReport_main table tr td{
	border-right:1px solid #aaa;
	border-bottom:1px solid #aaa;
	padding:2px 4px;
	vertical-align:top;
}
#rokovnikManReport_main table tr td a img{
	border:1px solid transparent;
}
#rokovnikManReport_main table tr:hover td a img{
	border:1px solid #fff;
}
#rokovnikManReport_info{
	width:310px;
	clear:both;
	color:#848263;
	font-weight:bolder;
	font-size:11px;
	padding:2px 5px;
	text-align:right;
	margin-top:-1px;
}
#rokovnikManReport_main input[type=button].exportXLS{
	float:right;
	background-image:url(gui/icons/excel.gif);
	background-repeat:no-repeat;
	background-position:3px center;
	padding-left:18px;
}
#rokovnikManReport_main table{
	clear:both;
}
</style>
<div style="float:left">
	<form id="reportRokovnikManager" method="post" action="javascript:void(0)" onsubmit="rokovnikReport(this)" class="area">
		<h3>Izveštaj sastanaka</h3>
		<input type="hidden" name="a" value="report" />
		<input type="hidden" name="t" value="man" />
		<!-- VREME POZIVA -->
		<fieldset>
		  <legend>Vreme unosa sastanka:</legend>
			<label for="start_date">OD:</label><input type="text" size="8" maxlength="10" id="start_date" name="start_date" value="{{$start_date}}" />
			<input type="button" class="datePicker" onclick="displayDatePicker('start_date',this)" />
			<input type="button" class="copy" value=">" onclick="document.getElementById('end_date').value = document.getElementById('start_date').value" />
			<label for="end_date">DO:</label><input type="text" size="8" maxlength="10" id="end_date" name="end_date" value="{{$end_date}}" />
			<input type="button" class="datePicker" onclick="displayDatePicker('end_date',this)" />
		</fieldset>
		<fieldset>
		  <legend>Vreme održavanja sastanka:</legend>
		  	<label for="start_date_odr">OD:</label><input type="text" size="8" maxlength="10" id="start_date_odr" name="start_date_odr" value="{{$start_date_odr}}" />
			<input type="button" class="datePicker" onclick="displayDatePicker('start_date_odr',this)" />
			<input type="button" class="copy" value=">" onclick="document.getElementById('end_date_odr').value = document.getElementById('start_date_odr').value" />
			<label for="end_date_odr">DO:</label><input type="text" size="8" maxlength="10" id="end_date_odr" name="end_date_odr" value="{{$end_date_odr}}" />
			<input type="button" class="datePicker" onclick="displayDatePicker('end_date_odr',this)" />
		</fieldset>
		
		<!-- OPERATER -->
		<label for="operater">Operater:</label>
		<select name="operater" id="operater">
			<option value="0">---</option>
			{{%loop start operater_id}}
			<option value="{{$operater_id}}" {{$operater_selected}}>{{$operater_ime}}&nbsp;{{$operater_prezime}}</option>
			{{%loop end}}
		</select><br clear="all" />
		
		<!-- KORISNIK -->
		<label for="user">Menadžer:</label>
		<select name="user" id="user">
			<option value="0">---</option>
			{{%loop start user_id}}
			<option value="{{$user_id}}" {{$user_selected}}>{{$user_ime}}&nbsp;{{$user_prezime}}</option>
			{{%loop end}}
		</select><br clear="all" />
		
		<!-- RADNIK -->
		<label for="radnik">Radnik:</label>
		<select name="radnik" id="radnik">
			<option value="0">---</option>
			{{%loop start radnik_id}}
			<option value="{{$radnik_id}}" {{$radnik_selected}}>{{$radnik_ime}}&nbsp;{{$radnik_prezime}}</option>
			{{%loop end}}
		</select><br clear="all" />
		
		<!-- KOMITENT -->
		<label for="komitent">Komitent:</label><input type="text" name="komitent" id="komitent" value="{{$komitent}}" /><br clear="all" />
	
		<!-- ISHOD -->
		<label for="ishod">Ishod:</label>
		<select name="ishod" id="ishod" style="max-width:200px;">
			<option value="-1">---</option>
			{{%loop start fb_id}}
			<option value="{{$fb_id}}"  {{$fb_selected}}>{{$fb_name}}</option>
			{{%loop end}}
		</select>
		<br clear="all" />

		<!-- NAPOMENA -->
		<label for="napomena">Napomena:</label>
		<select name="napomena" id="napomena">
			<option value="-1">---</option>
			<option value="0" {{$napomena_nema}}>nema</option>
			<option value="1" {{$napomena_ima}}>ima</option>
		</select>
		<br clear="all" />

		<input type="submit" value="filter" />
	</form>
	<div class="area" id="rokovnikManReport_info">{{$info}}</div>
</div>
<div style="float:left">
	<div class="area" id="rokovnikManReport_main">{{$rokovnikManReport}}</div>
</div>